﻿using System.Configuration;
using log4net.Appender;

namespace Century.EnterpriseLibrary.LogHandler
{
    public class MssqlAppender : AdoNetAppender
    {
        private const string Log4netConnectionString = "GkfxCommonConnectionString";
        public new string ConnectionString
        {
            get
            {
                return base.ConnectionString;
            }

            set
            {
                base.ConnectionString = ConfigurationManager.ConnectionStrings[Log4netConnectionString].ConnectionString;
            }
        }

    }
}
